package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.time.LocalTime;

/**
 * @author :  LENOVO
 * 创建时间 : 2024/6/24 9:12
 */
public interface ReportService {

    /**
     * 根据时间区间统计营业额
     */
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    void exportBusinessData(HttpServletResponse response);

    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);
}
